(function($){
	$.fn.extend({ 
		radioSelect : function(boldable) {
			if (boldable==null) boldable = false;
			
			this.attr("style","cursor:hand");				
			this.next().attr("style","cursor:hand");

			var me = this;
			var title = this.next();
			
			if (boldable) {
				for (var i=0;i<me.size();i++) {										
					if ($(me[i]).attr("checked")==true) {
						$(me[i]).next().addClass("boldFont");						
					} else {
						$(me[i]).next().removeClass("boldFont");					
					}
				}
			}
			
			if (boldable) {
				this.each(function(n){
					this.onclick = function(event){
						for (var i=0;i<me.size();i++) {										
							if ($(me[i]).attr("checked")==true) {
								$(me[i]).next().addClass("boldFont");							
							} else {
								$(me[i]).next().removeClass("boldFont");	
							}
						}
					};
				});
			}
			
			var current = $(this);
			
			current.next().each(function(n){				
				this.onclick = function(event){
					$(current[n]).attr("checked","checked");
					if (boldable) {
						for (var i=0;i<current.size();i++) {										
							if ($(current[i]).attr("checked")==true) {
								$(current[i]).next().addClass("boldFont");							
							} else {
								$(current[i]).next().removeClass("boldFont");	
							}
						}
					}
				};
			});
		}
	});
})(jQuery);